package cn.itcast.bos.domain.utils;

import java.util.List;

import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSeeAlso;

import cn.itcast.bos.domain.delivery.Promotion;

@XmlRootElement
@XmlSeeAlso(Promotion.class)
public class PageBean<T> {
	private long total;
	List<T> content;
	public long getTotal() {
		return total;
	}
	public void setTotal(long total) {
		this.total = total;
	}
	public List<T> getContent() {
		return content;
	}
	public void setContent(List<T> content) {
		this.content = content;
	}
}
